package com.yrk.service.impl;

import com.yrk.dao.KeyWordsDao;
import com.yrk.dao.impl.KeyWordsDaoImpl;
import com.yrk.service.KeyWordsService;

import java.util.Collections;
import java.util.List;

public class KeyWordsServiceImpl implements KeyWordsService {
    KeyWordsDao keyWordsDao = new KeyWordsDaoImpl();
    @Override
    public List<String> search(String keyName) {
        return keyWordsDao.search(keyName);
    }
}
